package com.xiaoxin.experience.service.hls.common;

/**
 * @author xiaoxin
 */
public class Test
{
    public static void main(String[] args)
    {
        String downloadUrl = "https://vip.lz-cdn.com/20220806/27525_cbb8649e/index.m3u8";
        String fileName = "我和僵尸有个约会粤语第一集";
        String saveDir = "E:\\test";
        HlsDownloader hlsDownloader = HlsDownloader.newInstance(downloadUrl);
        hlsDownloader.fileName(fileName).saveDir(saveDir).ffmpeg("D:\\install\\ffmpeg\\ffmpeg-master-latest-win64-gpl\\bin\\ffmpeg.exe").download();
    }
}
